package com.leeon.thread;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;

public class ThreadFactoryTest {
	
	ThreadFactory tFactory = (r)->{
		return new Thread(r);
	};

	ExecutorService exec = Executors.newSingleThreadExecutor(tFactory);

}
